package com.fc.mall.service;/**
 * Created by Administrator on 2019/10/13.
 */

import com.fc.mall.dto.SmsFriendsCirclesQueryParam;
import com.fc.mall.model.SmsFriendsCircles;

import java.util.List;

/**
 * @Description TODO
 * @Author Climb
 * @Date 2019/10/13
 **/
public interface SmsFriendsCirclesService {
    /**
     * 获取列表
     * @param queryParam
     * @param pageSize
     * @param pageNum
     * @return
     */
    List<SmsFriendsCircles> getList(SmsFriendsCirclesQueryParam queryParam, Integer pageSize, Integer pageNum);

    /**
     * 通过Id获取好友朋友圈
     * @param id
     * @return
     */
    SmsFriendsCircles getById(Long id);

    /**
     * 增加，修改API
     * @param friendsCircles
     * @return
     */
    int createOrUpdate(SmsFriendsCircles friendsCircles);

    /**
     * 通过ID删除
     * @param id
     * @return
     */
    int delById(Long id);
}
